package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.ProductRelateKeywordMapper;
import com.university.trade.entity.ProductRelateKeyword;
import com.university.trade.service.ProductRelateKeywordService;

public class ProductRelateKeywordServiceImpl implements ProductRelateKeywordService {
	@Resource
	private ProductRelateKeywordMapper productRelateKeywordMapper;
	@Override
	public int deleteByPrimaryKey(String relateId) {
		return this.productRelateKeywordMapper.deleteByPrimaryKey(relateId);
	}

	@Override
	public int insert(ProductRelateKeyword record) {
		return this.productRelateKeywordMapper.insert(record);
	}

	@Override
	public int insertSelective(ProductRelateKeyword record) {
		return this.productRelateKeywordMapper.insertSelective(record);
	}

	@Override
	public ProductRelateKeyword selectByPrimaryKey(String relateId) {
		return this.productRelateKeywordMapper.selectByPrimaryKey(relateId);
	}

	@Override
	public int updateByPrimaryKeySelective(ProductRelateKeyword record) {
		return this.productRelateKeywordMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ProductRelateKeyword record) {
		return this.productRelateKeywordMapper.updateByPrimaryKey(record);
	}

}
